Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.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.MultiDomainDPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3812/0.3812, allocations: 78.54 MB / 94.32 MB, free: 4.203 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.001276/0.001276, allocations: 104.9 kB / 113.9 MB, free: 10.11 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.001772/0.001772, allocations: 191.9 kB / 133.5 MB, free: 6.48 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.416/1.416, allocations: 222.9 MB / 375.9 MB, free: 3.984 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6426/0.6426, allocations: 62.47 MB / 0.4953 GB, free: 8.508 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002227, allocations: 123.8 kB / 0.5751 GB, free: 6.941 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.474, allocations: 69.5 MB / 0.643 GB, free: 18.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.005503/0.4795, allocations: 4.823 MB / 0.6477 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.4821, allocations: 1.41 MB / 0.6491 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003838/0.4825, allocations: 9.969 kB / 0.6491 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.4829, allocations: 106.7 kB / 0.6492 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005098/0.4834, allocations: 217.4 kB / 0.6494 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.4845, allocations: 0.556 MB / 0.6499 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008175/0.4853, allocations: 0.9918 MB / 0.6509 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.4856, allocations: 161.9 kB / 0.6511 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.486, allocations: 388.6 kB / 0.6514 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005079/0.4865, allocations: 0.504 MB / 0.6519 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.4866, allocations: 52.25 kB / 0.652 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.4868, allocations: 110.5 kB / 0.6521 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.487, allocations: 175.3 kB / 0.6522 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003078/0.4873, allocations: 390.7 kB / 0.6526 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000581/0.4879, allocations: 0.7684 MB / 0.6534 GB, free: 10.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4879, allocations: 1.062 kB / 0.6534 GB, free: 10.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4879, allocations: 0 / 0.6534 GB, free: 10.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.4879, allocations: 0 / 0.6534 GB, free: 10.06 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.004055/0.492, allocations: 1.419 MB / 0.6548 GB, free: 9.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.492, allocations: 9.125 kB / 0.6548 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009838/0.493, allocations: 191 kB / 0.6549 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.4937, allocations: 0.5278 MB / 0.6555 GB, free: 8.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/0.4938, allocations: 78.52 kB / 0.6555 GB, free: 8.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.4939, allocations: 57.16 kB / 0.6556 GB, free: 8.469 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.4953, allocations: 0.7661 MB / 0.6563 GB, free: 7.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.4953, allocations: 1.156 kB / 0.6563 GB, free: 7.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.976e-05/0.4954, allocations: 21.16 kB / 0.6564 GB, free: 7.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.4954, allocations: 14.75 kB / 0.6564 GB, free: 7.965 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.4971, allocations: 0.8392 MB / 0.6572 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/0.5015, allocations: 2.866 MB / 0.66 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.5032, allocations: 1.129 MB / 0.6611 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006904/0.5039, allocations: 443.5 kB / 0.6615 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.384e-05/0.504, allocations: 16.62 kB / 0.6615 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.504, allocations: 43.22 kB / 0.6616 GB, free: 3.594 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 2.405e-06/0.504, allocations: 4 kB / 0.6616 GB, free: 3.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.01144/0.5154, allocations: 3.875 MB / 0.6654 GB, free: 15.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.5156, allocations: 93.69 kB / 0.6655 GB, free: 15.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.5164, allocations: 0.5263 MB / 0.666 GB, free: 14.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.721e-05/0.5164, allocations: 37.7 kB / 0.666 GB, free: 14.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.5167, allocations: 308.7 kB / 0.6663 GB, free: 14.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.517, allocations: 283.8 kB / 0.6666 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.5172, allocations: 126.7 kB / 0.6667 GB, free: 14.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.5174, allocations: 374.8 kB / 0.667 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007672/0.5182, allocations: 365.8 kB / 0.6674 GB, free: 13.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008918/0.5191, allocations: 0.495 MB / 0.6679 GB, free: 12.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.5208, allocations: 0.8867 MB / 0.6687 GB, free: 12.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.5208, allocations: 4 kB / 0.6687 GB, free: 12.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005165/0.526, allocations: 1.719 MB / 0.6704 GB, free: 10.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.5261, allocations: 10.66 kB / 0.6704 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5261, allocations: 4 kB / 0.6704 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002397/0.5285, allocations: 0.5762 MB / 0.671 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/0.5293, allocations: 131.8 kB / 0.6711 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009099/0.5384, allocations: 5.357 MB / 0.6764 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.5395, allocations: 47.95 kB / 0.6764 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.5396, allocations: 24 kB / 0.6764 GB, free: 3.867 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (74): * Single equations (assignments): 72 * 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,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003546/0.5399, allocations: 202.9 kB / 0.6766 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.5401, allocations: 67.16 kB / 0.6767 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/0.545, allocations: 1.697 MB / 0.6783 GB, free: 1.883 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.545, allocations: 8 kB / 0.6784 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.545, allocations: 4 kB / 0.6784 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.545, allocations: 11.98 kB / 0.6784 GB, free: 1.859 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006246/0.5513, allocations: 2.653 MB / 0.681 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.5513, allocations: 3.984 kB / 0.681 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007714/0.5521, allocations: 115.8 kB / 0.6811 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/0.5542, allocations: 0.5576 MB / 0.6816 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.771e-05/0.5543, allocations: 12 kB / 0.6816 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007943/0.5622, allocations: 4.939 MB / 0.6865 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5623, allocations: 4.031 kB / 0.6865 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005953/0.5682, allocations: 2.324 MB / 0.6887 GB, free: 6.855 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.5685, allocations: 144.3 kB / 0.6889 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.5687, allocations: 19.94 kB / 0.6889 GB, free: 6.676 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008012/0.5695, allocations: 47.97 kB / 0.6889 GB, free: 6.629 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.5698, allocations: 80.52 kB / 0.689 GB, free: 6.551 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/0.5698, allocations: 27.98 kB / 0.689 GB, free: 6.523 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004922/0.5703, allocations: 378.8 kB / 0.6894 GB, free: 6.156 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5703, allocations: 0 / 0.6894 GB, free: 6.156 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008769/0.5712, allocations: 244 kB / 0.6896 GB, free: 5.918 MB / 478.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,DPIM.Rotor_Inertia.w,DPIM.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 (58): * Single equations (assignments): 56 * 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,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002033/0.5714, allocations: 123.1 kB / 0.6897 GB, free: 5.789 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002866/0.5743, allocations: 1.314 MB / 0.691 GB, free: 4.449 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5743, allocations: 4.062 kB / 0.691 GB, free: 4.445 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.5761, allocations: 0.8739 MB / 0.6919 GB, free: 3.539 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.5769, allocations: 74.3 kB / 0.692 GB, free: 3.465 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.58, allocations: 1.875 MB / 0.6938 GB, free: 1.555 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.5805, allocations: 0.9315 MB / 0.6947 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/0.5808, allocations: 51.42 kB / 0.6947 GB, free: 0.543 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5808, allocations: 0 / 0.6947 GB, free: 0.543 MB / 478.1 MB Notification: Performance of Templates: time 0.01877/0.5996, allocations: 14.83 MB / 0.7092 GB, free: 1.73 MB / 494.1 MB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe 2>&1)