Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.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.NonMultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM") translateModel(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3935/0.3935, allocations: 78.54 MB / 94.84 MB, free: 3.875 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.001326/0.001326, allocations: 113.5 kB / 114.4 MB, free: 9.809 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.001741/0.001741, allocations: 199.8 kB / 134.1 MB, free: 6.16 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.551/1.551, allocations: 222.9 MB / 376.5 MB, free: 3.773 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6849/0.6849, allocations: 62.26 MB / 0.4957 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 135.9 kB / 0.6448 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1491, allocations: 69.5 MB / 0.7127 GB, free: 13.49 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM): time 0.004776/0.1539, allocations: 4.049 MB / 0.7166 GB, free: 9.414 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.1563, allocations: 1.256 MB / 0.7178 GB, free: 8.156 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.1565, allocations: 4 kB / 0.7178 GB, free: 8.152 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.1569, allocations: 134.9 kB / 0.718 GB, free: 8.02 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0005367/0.1574, allocations: 282.1 kB / 0.7182 GB, free: 7.742 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.1587, allocations: 0.6209 MB / 0.7189 GB, free: 7.125 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.0008174/0.1595, allocations: 0.8528 MB / 0.7197 GB, free: 6.27 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.1598, allocations: 152.7 kB / 0.7198 GB, free: 6.109 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.1602, allocations: 378.4 kB / 0.7202 GB, free: 5.738 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006029/0.1608, allocations: 494.1 kB / 0.7207 GB, free: 5.254 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.1609, allocations: 72 kB / 0.7207 GB, free: 5.184 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.1611, allocations: 135.9 kB / 0.7209 GB, free: 5.051 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.1613, allocations: 179.2 kB / 0.721 GB, free: 4.875 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.1616, allocations: 369.9 kB / 0.7214 GB, free: 4.512 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.0008557/0.1624, allocations: 0.8914 MB / 0.7223 GB, free: 3.617 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1625, allocations: 4 kB / 0.7223 GB, free: 3.613 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1625, allocations: 0 / 0.7223 GB, free: 3.613 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.1625, allocations: 0 / 0.7223 GB, free: 3.613 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.004702/0.1672, allocations: 1.578 MB / 0.7238 GB, free: 1.984 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1672, allocations: 8.031 kB / 0.7238 GB, free: 1.977 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.1696, allocations: 411.6 kB / 0.7242 GB, free: 1.574 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.1703, allocations: 0.5221 MB / 0.7247 GB, free: 1.008 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.1705, allocations: 130.1 kB / 0.7248 GB, free: 0.8633 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-05/0.1706, allocations: 47.84 kB / 0.7249 GB, free: 0.8164 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.1718, allocations: 0.6737 MB / 0.7255 GB, free: 132 kB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1718, allocations: 0 / 0.7255 GB, free: 132 kB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.1719, allocations: 16 kB / 0.7256 GB, free: 116 kB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1719, allocations: 12 kB / 0.7256 GB, free: 104 kB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.1731, allocations: 0.6286 MB / 0.7262 GB, free: 15.47 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.003026/0.1762, allocations: 1.908 MB / 0.728 GB, free: 13.46 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.1773, allocations: 0.7749 MB / 0.7288 GB, free: 12.63 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008147/0.1782, allocations: 486.1 kB / 0.7293 GB, free: 12.15 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 7.229e-05/0.1783, allocations: 8.562 kB / 0.7293 GB, free: 12.14 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1783, allocations: 43.06 kB / 0.7293 GB, free: 12.09 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=64): time 1.883e-06/0.1783, allocations: 4 kB / 0.7293 GB, free: 12.09 MB / 0.5138 GB Notification: Performance of matching and sorting (n=64): time 0.01458/0.1929, allocations: 3.921 MB / 0.7331 GB, free: 8.137 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.193, allocations: 81.67 kB / 0.7332 GB, free: 8.039 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007022/0.1937, allocations: 0.5185 MB / 0.7337 GB, free: 7.512 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 9.855e-05/0.1938, allocations: 41.64 kB / 0.7338 GB, free: 7.465 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.194, allocations: 285.1 kB / 0.734 GB, free: 7.18 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.1943, allocations: 216.8 kB / 0.7342 GB, free: 6.965 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.1945, allocations: 98.33 kB / 0.7343 GB, free: 6.859 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1946, allocations: 370.8 kB / 0.7347 GB, free: 6.488 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007545/0.1954, allocations: 369.1 kB / 0.735 GB, free: 6.129 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008121/0.1962, allocations: 466.6 kB / 0.7355 GB, free: 5.645 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.1978, allocations: 0.8463 MB / 0.7363 GB, free: 4.77 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1978, allocations: 0 / 0.7363 GB, free: 4.77 MB / 0.5138 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.01219/0.21, allocations: 2.948 MB / 0.7392 GB, free: 1.805 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.2102, allocations: 8 kB / 0.7392 GB, free: 1.797 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.2102, allocations: 3.938 kB / 0.7392 GB, free: 1.793 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009476/0.2197, allocations: 1.839 MB / 0.741 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.22, allocations: 67.91 kB / 0.7411 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01916/0.2392, allocations: 8.309 MB / 0.7492 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009352/0.2402, allocations: 79.48 kB / 0.7493 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/0.2403, allocations: 23.98 kB / 0.7493 GB, free: 7.324 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (36): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0003237/0.2406, allocations: 173.8 kB / 0.7494 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.2408, allocations: 67.19 kB / 0.7495 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008209/0.249, allocations: 2.562 MB / 0.752 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.249, allocations: 11.94 kB / 0.752 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.249, allocations: 4 kB / 0.752 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.249, allocations: 7.984 kB / 0.752 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00944/0.2585, allocations: 3.525 MB / 0.7555 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.2585, allocations: 0 / 0.7555 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.259, allocations: 71.84 kB / 0.7555 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004316/0.2633, allocations: 1.165 MB / 0.7567 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-05/0.2634, allocations: 11.94 kB / 0.7567 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/0.2752, allocations: 5.709 MB / 0.7623 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2752, allocations: 0 / 0.7623 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009696/0.2849, allocations: 3.223 MB / 0.7654 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.2853, allocations: 152.2 kB / 0.7656 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.2856, allocations: 12 kB / 0.7656 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000869/0.2864, allocations: 51.94 kB / 0.7656 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004486/0.2869, allocations: 124.4 kB / 0.7657 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/0.287, allocations: 16 kB / 0.7658 GB, free: 6.148 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000558/0.2876, allocations: 378.8 kB / 0.7661 GB, free: 5.781 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2876, allocations: 0 / 0.7661 GB, free: 5.781 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001202/0.2888, allocations: 275.7 kB / 0.7664 GB, free: 5.512 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Inf.delta,Inf.eq,SPIM.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 (41): * Single equations (assignments): 40 * 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,14,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002376/0.289, allocations: 115.3 kB / 0.7665 GB, free: 5.391 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004053/0.2931, allocations: 1.455 MB / 0.7679 GB, free: 3.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.2931, allocations: 4 kB / 0.7679 GB, free: 3.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002709/0.2958, allocations: 0.9582 MB / 0.7689 GB, free: 2.945 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008017/0.2967, allocations: 58.31 kB / 0.7689 GB, free: 2.887 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.2998, allocations: 1.35 MB / 0.7702 GB, free: 1.504 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.3004, allocations: 0.9074 MB / 0.7711 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.3006, allocations: 43.42 kB / 0.7712 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of SimCode: time 4.288e-06/0.3006, allocations: 0 / 0.7712 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of Templates: time 0.01855/0.3192, allocations: 11.95 MB / 0.7828 GB, free: 4.574 MB / 0.5607 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.sim & ./OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe 2>&1)