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.3461/0.3461, allocations: 78.55 MB / 94.72 MB, free: 3.785 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.001164/0.001164, allocations: 106 kB / 114.3 MB, free: 9.863 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.001297/0.001297, allocations: 192.1 kB / 133.9 MB, free: 6.219 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.309/1.309, allocations: 222.9 MB / 376.3 MB, free: 3.871 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6238/0.6238, allocations: 62.26 MB / 0.4956 GB, free: 7.91 MB / 366.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.002314/0.002314, allocations: 119.8 kB / 0.5757 GB, free: 6.629 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4307, allocations: 69.49 MB / 0.6435 GB, free: 18.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.00456/0.4353, allocations: 4.31 MB / 0.6477 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.4375, allocations: 1.244 MB / 0.6489 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003531/0.4379, allocations: 6.125 kB / 0.6489 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.4383, allocations: 133 kB / 0.6491 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.4388, allocations: 231.4 kB / 0.6493 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009477/0.4397, allocations: 0.5354 MB / 0.6498 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006987/0.4405, allocations: 0.8427 MB / 0.6506 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.4407, allocations: 168.4 kB / 0.6508 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.4411, allocations: 345.1 kB / 0.6511 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004674/0.4415, allocations: 450.4 kB / 0.6516 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.4417, allocations: 67.38 kB / 0.6516 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.4419, allocations: 129.5 kB / 0.6517 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.4421, allocations: 171.8 kB / 0.6519 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.4423, allocations: 351.7 kB / 0.6522 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007293/0.4431, allocations: 0.8311 MB / 0.6531 GB, free: 10.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4431, allocations: 5.562 kB / 0.6531 GB, free: 10.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4431, allocations: 0 / 0.6531 GB, free: 10.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.4431, allocations: 0 / 0.6531 GB, free: 10.78 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003158/0.4463, allocations: 1.214 MB / 0.6543 GB, free: 9.898 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4463, allocations: 9.562 kB / 0.6543 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.4473, allocations: 185.1 kB / 0.6544 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.448, allocations: 492.2 kB / 0.6549 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/0.4481, allocations: 67.5 kB / 0.655 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.105e-05/0.4482, allocations: 49.62 kB / 0.655 GB, free: 9.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009246/0.4491, allocations: 0.5498 MB / 0.6556 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.4491, allocations: 1.25 kB / 0.6556 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.4492, allocations: 16.69 kB / 0.6556 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.4492, allocations: 10.06 kB / 0.6556 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009408/0.4501, allocations: 498.6 kB / 0.6561 GB, free: 8.723 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.4532, allocations: 2.097 MB / 0.6581 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009376/0.4542, allocations: 0.6237 MB / 0.6587 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.4547, allocations: 287 kB / 0.659 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-05/0.4547, allocations: 14.8 kB / 0.659 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.4548, allocations: 41.19 kB / 0.659 GB, free: 6.344 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.545e-06/0.4548, allocations: 5.094 kB / 0.659 GB, free: 6.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.008495/0.4633, allocations: 2.837 MB / 0.6618 GB, free: 3.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.4633, allocations: 85.55 kB / 0.6619 GB, free: 3.746 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.4638, allocations: 498.1 kB / 0.6624 GB, free: 3.246 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.4639, allocations: 41.69 kB / 0.6624 GB, free: 3.199 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.464, allocations: 288.1 kB / 0.6627 GB, free: 2.914 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.4641, allocations: 185.3 kB / 0.6629 GB, free: 2.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.4643, allocations: 86.23 kB / 0.6629 GB, free: 2.641 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.4644, allocations: 374.7 kB / 0.6633 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.4648, allocations: 229 kB / 0.6635 GB, free: 2.043 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.4653, allocations: 353 kB / 0.6639 GB, free: 1.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/0.4662, allocations: 0.5973 MB / 0.6644 GB, free: 1.023 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4662, allocations: 0 / 0.6644 GB, free: 1.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.007768/0.474, allocations: 1.74 MB / 0.6661 GB, free: 15.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.474, allocations: 8.219 kB / 0.6661 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.474, allocations: 4 kB / 0.6662 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007429/0.4815, allocations: 1.179 MB / 0.6673 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.482, allocations: 103.9 kB / 0.6674 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/0.4945, allocations: 6.245 MB / 0.6735 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007819/0.4954, allocations: 35.97 kB / 0.6735 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.4955, allocations: 20 kB / 0.6736 GB, free: 7.398 MB / 462.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.0003163/0.4958, allocations: 181.6 kB / 0.6737 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.496, allocations: 63.19 kB / 0.6738 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004602/0.5006, allocations: 1.323 MB / 0.6751 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.5006, allocations: 7.984 kB / 0.6751 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.5007, allocations: 7.938 kB / 0.6751 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.5007, allocations: 4 kB / 0.6751 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005502/0.5062, allocations: 2.102 MB / 0.6772 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.5062, allocations: 0 / 0.6772 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.5067, allocations: 79.95 kB / 0.6772 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00261/0.5093, allocations: 0.587 MB / 0.6778 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.697e-05/0.5094, allocations: 15.98 kB / 0.6778 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006989/0.5164, allocations: 4.75 MB / 0.6825 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5164, allocations: 0 / 0.6825 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/0.5216, allocations: 1.784 MB / 0.6842 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.5219, allocations: 140.3 kB / 0.6843 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.522, allocations: 12 kB / 0.6843 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/0.5226, allocations: 35.97 kB / 0.6844 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.5229, allocations: 68.28 kB / 0.6844 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.5229, allocations: 12 kB / 0.6845 GB, free: 11.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004388/0.5234, allocations: 358.8 kB / 0.6848 GB, free: 11.44 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5234, allocations: 0 / 0.6848 GB, free: 11.44 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008542/0.5242, allocations: 196 kB / 0.685 GB, free: 11.25 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,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.0001987/0.5244, allocations: 123.1 kB / 0.6851 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002374/0.5268, allocations: 0.9004 MB / 0.686 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5268, allocations: 8.062 kB / 0.686 GB, free: 10.19 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.5283, allocations: 0.6753 MB / 0.6866 GB, free: 9.492 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.529, allocations: 65.88 kB / 0.6867 GB, free: 9.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.5315, allocations: 1.319 MB / 0.688 GB, free: 8.078 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.5319, allocations: 0.8833 MB / 0.6889 GB, free: 7.164 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.5321, allocations: 43.44 kB / 0.6889 GB, free: 7.121 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5321, allocations: 3.938 kB / 0.6889 GB, free: 7.117 MB / 478.1 MB Notification: Performance of Templates: time 0.01609/0.5482, allocations: 12.39 MB / 0.701 GB, free: 10.73 MB / 494.1 MB 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)