Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo", uses=false) Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: translateModel(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM") translateModel(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3601/0.3601, allocations: 78.55 MB / 94.86 MB, free: 3.855 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 117.3 kB / 114.4 MB, free: 9.805 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 188.5 kB / 134.1 MB, free: 6.156 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 376.5 MB, free: 3.766 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6329/0.6329, allocations: 62.26 MB / 0.4957 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 132.7 kB / 0.6448 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1314, allocations: 69.5 MB / 0.7127 GB, free: 13.48 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM): time 0.005547/0.137, allocations: 4.348 MB / 0.7169 GB, free: 9.109 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002804/0.1399, allocations: 1.35 MB / 0.7182 GB, free: 7.758 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005787/0.1405, allocations: 8 kB / 0.7182 GB, free: 7.75 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.141, allocations: 142.8 kB / 0.7184 GB, free: 7.609 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0009847/0.142, allocations: 290 kB / 0.7186 GB, free: 7.324 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.1436, allocations: 0.6836 MB / 0.7193 GB, free: 6.645 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.1448, allocations: 1.037 MB / 0.7203 GB, free: 5.602 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.1452, allocations: 164.9 kB / 0.7205 GB, free: 5.426 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006243/0.1458, allocations: 434.4 kB / 0.7209 GB, free: 5 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009048/0.1467, allocations: 0.5681 MB / 0.7215 GB, free: 4.43 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.1469, allocations: 88 kB / 0.7215 GB, free: 4.344 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.1474, allocations: 155.9 kB / 0.7217 GB, free: 4.191 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.1476, allocations: 223.1 kB / 0.7219 GB, free: 3.973 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0004811/0.1481, allocations: 437.6 kB / 0.7223 GB, free: 3.543 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.1493, allocations: 1.062 MB / 0.7234 GB, free: 2.477 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1493, allocations: 0 / 0.7234 GB, free: 2.477 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1493, allocations: 0 / 0.7234 GB, free: 2.477 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 2.454e-05/0.1493, allocations: 0 / 0.7234 GB, free: 2.477 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.005506/0.1548, allocations: 1.769 MB / 0.7251 GB, free: 0.6523 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1549, allocations: 8.031 kB / 0.7251 GB, free: 0.6445 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/0.1574, allocations: 420 kB / 0.7255 GB, free: 240 kB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000839/0.1583, allocations: 0.5614 MB / 0.726 GB, free: 15.63 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.1584, allocations: 134.4 kB / 0.7262 GB, free: 15.48 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.1586, allocations: 60 kB / 0.7262 GB, free: 15.42 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.1603, allocations: 0.8625 MB / 0.7271 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1603, allocations: 4 kB / 0.7271 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.882e-05/0.1604, allocations: 20 kB / 0.7271 GB, free: 14.52 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1604, allocations: 16 kB / 0.7271 GB, free: 14.5 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.1624, allocations: 0.9694 MB / 0.7281 GB, free: 13.54 MB / 0.5138 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003812/0.1662, allocations: 2.288 MB / 0.7303 GB, free: 11.13 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.1683, allocations: 1.234 MB / 0.7315 GB, free: 9.809 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.1694, allocations: 0.6191 MB / 0.7321 GB, free: 9.188 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.1696, allocations: 20.97 kB / 0.7321 GB, free: 9.168 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1696, allocations: 47.5 kB / 0.7322 GB, free: 9.109 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=90): time 2.925e-06/0.1696, allocations: 3.938 kB / 0.7322 GB, free: 9.105 MB / 0.5138 GB Notification: Performance of matching and sorting (n=90): time 0.01687/0.1865, allocations: 4.724 MB / 0.7368 GB, free: 4.352 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.1866, allocations: 90.05 kB / 0.7369 GB, free: 4.246 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008522/0.1875, allocations: 0.5459 MB / 0.7374 GB, free: 3.691 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.1877, allocations: 41.81 kB / 0.7374 GB, free: 3.645 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.1879, allocations: 297.4 kB / 0.7377 GB, free: 3.352 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.1883, allocations: 325.1 kB / 0.738 GB, free: 3.031 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/0.1886, allocations: 126.7 kB / 0.7382 GB, free: 2.898 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1888, allocations: 382.8 kB / 0.7385 GB, free: 2.516 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.1899, allocations: 489.8 kB / 0.739 GB, free: 2.039 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.191, allocations: 0.5814 MB / 0.7396 GB, free: 1.426 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0174/0.2084, allocations: 3.979 MB / 0.7434 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.2085, allocations: 0 / 0.7434 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.009294/0.2178, allocations: 2.863 MB / 0.7462 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.2178, allocations: 11.98 kB / 0.7462 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.2178, allocations: 4 kB / 0.7462 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004045/0.2219, allocations: 1.155 MB / 0.7474 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007725/0.2227, allocations: 111.8 kB / 0.7475 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/0.2377, allocations: 7.069 MB / 0.7544 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.2389, allocations: 111.5 kB / 0.7545 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.2391, allocations: 28 kB / 0.7545 GB, free: 1.895 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: DPIM.s:VARIABLE(start = DPIM.s0 unit = "1" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(12,22,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004708/0.2395, allocations: 193.7 kB / 0.7547 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.2398, allocations: 75.53 kB / 0.7548 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00871/0.2485, allocations: 2.922 MB / 0.7576 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.2485, allocations: 15.94 kB / 0.7576 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.2486, allocations: 4.109 kB / 0.7576 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.2486, allocations: 7.922 kB / 0.7577 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.2592, allocations: 4.06 MB / 0.7616 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.2592, allocations: 11.88 kB / 0.7616 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/0.26, allocations: 99.89 kB / 0.7617 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003805/0.2638, allocations: 1.121 MB / 0.7628 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.2639, allocations: 16 kB / 0.7628 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.2772, allocations: 6.318 MB / 0.769 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2773, allocations: 0 / 0.769 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/0.2878, allocations: 3.716 MB / 0.7726 GB, free: 15.06 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.2881, allocations: 168.5 kB / 0.7728 GB, free: 14.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.2884, allocations: 19.98 kB / 0.7728 GB, free: 14.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009887/0.2894, allocations: 51.95 kB / 0.7729 GB, free: 14.81 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000493/0.2899, allocations: 160.6 kB / 0.773 GB, free: 14.65 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.542e-05/0.29, allocations: 20 kB / 0.773 GB, free: 14.63 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0005235/0.2905, allocations: 390.8 kB / 0.7734 GB, free: 14.25 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2905, allocations: 0 / 0.7734 GB, free: 14.25 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.001108/0.2917, allocations: 315.8 kB / 0.7737 GB, free: 13.95 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Inf.delta,Inf.eq,DPIM.s,Inf.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(12,22,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002511/0.2919, allocations: 119.2 kB / 0.7738 GB, free: 13.82 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.004261/0.2962, allocations: 1.702 MB / 0.7755 GB, free: 12.09 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2962, allocations: 8 kB / 0.7755 GB, free: 12.08 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002893/0.2991, allocations: 1.132 MB / 0.7766 GB, free: 10.94 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007586/0.2999, allocations: 73.34 kB / 0.7767 GB, free: 10.88 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.3032, allocations: 1.657 MB / 0.7783 GB, free: 9.18 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.3037, allocations: 0.94 MB / 0.7792 GB, free: 8.211 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.304, allocations: 59.36 kB / 0.7793 GB, free: 8.152 MB / 0.5607 GB Notification: Performance of SimCode: time 9.22e-07/0.304, allocations: 3.938 kB / 0.7793 GB, free: 8.148 MB / 0.5607 GB Notification: Performance of Templates: time 0.01933/0.3234, allocations: 13.81 MB / 0.7928 GB, free: 10.35 MB / 0.5763 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.sim & ./OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe 2>&1)