Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.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.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4738/0.4738, allocations: 78.56 MB / 94.5 MB, free: 4.422 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.0007639/0.0007639, allocations: 92.67 kB / 114.2 MB, free: 10.14 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.001017/0.001017, allocations: 168.6 kB / 134.1 MB, free: 6.312 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.384/1.384, allocations: 223.2 MB / 377.1 MB, free: 14.69 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.733/0.733, allocations: 62.19 MB / 0.4974 GB, free: 5.137 MB / 382.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0007376/0.000738, allocations: 26.67 kB / 0.5783 GB, free: 62.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1408, allocations: 70.72 MB / 0.6473 GB, free: 9.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.003868/0.1447, allocations: 4.061 MB / 0.6513 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.1468, allocations: 1.256 MB / 0.6525 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.1471, allocations: 4 kB / 0.6525 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.1474, allocations: 99.34 kB / 0.6526 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.1478, allocations: 194.7 kB / 0.6528 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008638/0.1487, allocations: 0.5026 MB / 0.6533 GB, free: 2.977 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.1493, allocations: 0.8022 MB / 0.6541 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.1495, allocations: 141.7 kB / 0.6542 GB, free: 2.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.1498, allocations: 306.7 kB / 0.6545 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.1502, allocations: 410.2 kB / 0.6549 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.597e-05/0.1503, allocations: 36 kB / 0.6549 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.1505, allocations: 91.97 kB / 0.655 GB, free: 1.203 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.759e-05/0.1506, allocations: 135.3 kB / 0.6551 GB, free: 1.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.1508, allocations: 343.8 kB / 0.6555 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.1512, allocations: 0.6117 MB / 0.6561 GB, free: 116 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1513, allocations: 0 / 0.6561 GB, free: 116 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1513, allocations: 0 / 0.6561 GB, free: 116 kB / 446.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1513, allocations: 0 / 0.6561 GB, free: 116 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003129/0.1544, allocations: 1.126 MB / 0.6572 GB, free: 14.94 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.1545, allocations: 8.031 kB / 0.6572 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009625/0.1554, allocations: 192 kB / 0.6574 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006607/0.1561, allocations: 492.9 kB / 0.6578 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.105e-05/0.1562, allocations: 66.7 kB / 0.6579 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.346e-05/0.1563, allocations: 51.89 kB / 0.6579 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.1574, allocations: 0.5583 MB / 0.6585 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.1574, allocations: 0 / 0.6585 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.1575, allocations: 23.94 kB / 0.6585 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.1575, allocations: 16 kB / 0.6585 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.1586, allocations: 0.5036 MB / 0.659 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.1622, allocations: 2.1 MB / 0.6611 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.1632, allocations: 0.6557 MB / 0.6617 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.1638, allocations: 302.9 kB / 0.662 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.485e-05/0.1639, allocations: 4.438 kB / 0.662 GB, free: 9.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1639, allocations: 43 kB / 0.662 GB, free: 9.699 MB / 462.1 MB Notification: Performance of pre-optimization done (n=51): time 2.345e-06/0.1639, allocations: 0 / 0.662 GB, free: 9.699 MB / 462.1 MB Notification: Performance of matching and sorting (n=52): time 0.009792/0.1737, allocations: 3.17 MB / 0.6651 GB, free: 6.445 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.1738, allocations: 85.48 kB / 0.6652 GB, free: 6.344 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006583/0.1744, allocations: 0.4942 MB / 0.6657 GB, free: 5.836 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.615e-05/0.1745, allocations: 33.7 kB / 0.6657 GB, free: 5.797 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.1747, allocations: 284.2 kB / 0.666 GB, free: 5.516 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.1749, allocations: 197.2 kB / 0.6662 GB, free: 5.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.175, allocations: 41.7 kB / 0.6662 GB, free: 5.273 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1752, allocations: 374.7 kB / 0.6666 GB, free: 4.898 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005643/0.1757, allocations: 253 kB / 0.6668 GB, free: 4.652 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/0.1764, allocations: 365.1 kB / 0.6672 GB, free: 4.258 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.1776, allocations: 0.6285 MB / 0.6678 GB, free: 3.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1777, allocations: 0 / 0.6678 GB, free: 3.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.008785/0.1864, allocations: 1.947 MB / 0.6697 GB, free: 1.633 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.1865, allocations: 4.219 kB / 0.6697 GB, free: 1.629 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.1865, allocations: 8 kB / 0.6697 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007695/0.1942, allocations: 1.273 MB / 0.6709 GB, free: 352 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/0.1948, allocations: 107.8 kB / 0.6711 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.2075, allocations: 5.969 MB / 0.6769 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/0.2083, allocations: 43.97 kB / 0.6769 GB, free: 9.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.2083, allocations: 20 kB / 0.6769 GB, free: 9.941 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003171/0.2087, allocations: 181.7 kB / 0.6771 GB, free: 9.754 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.2088, allocations: 63.25 kB / 0.6772 GB, free: 9.691 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004948/0.2138, allocations: 1.514 MB / 0.6787 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.2138, allocations: 7.984 kB / 0.6787 GB, free: 8.152 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.2138, allocations: 4 kB / 0.6787 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.2139, allocations: 3.984 kB / 0.6787 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00608/0.2199, allocations: 2.313 MB / 0.6809 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.22, allocations: 3.938 kB / 0.6809 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/0.2204, allocations: 83.89 kB / 0.681 GB, free: 5.656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002787/0.2232, allocations: 0.6641 MB / 0.6817 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.2233, allocations: 12 kB / 0.6817 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007198/0.2305, allocations: 4.544 MB / 0.6861 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2305, allocations: 4.062 kB / 0.6861 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005657/0.2362, allocations: 1.991 MB / 0.6881 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.2364, allocations: 136.5 kB / 0.6882 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.632e-05/0.2365, allocations: 8 kB / 0.6882 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.2371, allocations: 39.97 kB / 0.6882 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.2374, allocations: 72.2 kB / 0.6883 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.2374, allocations: 16 kB / 0.6883 GB, free: 13.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004546/0.2379, allocations: 354.9 kB / 0.6887 GB, free: 13.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2379, allocations: 0 / 0.6887 GB, free: 13.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008177/0.2387, allocations: 192 kB / 0.6888 GB, free: 13.33 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Inf.delta,Inf.eq,SPIM.Rotor_Inertia.w,SPIM.speed.phi,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 (37): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (4,10,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001829/0.2389, allocations: 119.2 kB / 0.689 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.2413, allocations: 0.9589 MB / 0.6899 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2414, allocations: 3.938 kB / 0.6899 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.2429, allocations: 0.7302 MB / 0.6906 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.2436, allocations: 65.14 kB / 0.6907 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.2462, allocations: 1.651 MB / 0.6923 GB, free: 9.727 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.2467, allocations: 0.8797 MB / 0.6931 GB, free: 8.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.2469, allocations: 43.42 kB / 0.6932 GB, free: 8.773 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2469, allocations: 4 kB / 0.6932 GB, free: 8.77 MB / 494.1 MB Notification: Performance of Templates: time 0.01708/0.264, allocations: 12.31 MB / 0.7052 GB, free: 12.46 MB / 0.4982 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe 2>&1)