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: "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.411/0.411, allocations: 78.54 MB / 94.18 MB, free: 3.93 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.00129/0.00129, allocations: 118.3 kB / 113.7 MB, free: 9.82 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.001482/0.001482, allocations: 184.5 kB / 133.4 MB, free: 6.172 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.436/1.436, allocations: 222.9 MB / 375.8 MB, free: 3.77 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.7076/0.7076, allocations: 62.26 MB / 0.4951 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003606/0.003606, allocations: 129.1 kB / 0.6436 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.12, allocations: 69.5 MB / 0.7115 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.005754/0.1258, allocations: 4.323 MB / 0.7157 GB, free: 9.625 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.1284, allocations: 1.256 MB / 0.717 GB, free: 8.367 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.1287, allocations: 4 kB / 0.717 GB, free: 8.363 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.129, allocations: 126.9 kB / 0.7171 GB, free: 8.238 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0005629/0.1297, allocations: 230.3 kB / 0.7173 GB, free: 8.012 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.1309, allocations: 0.5335 MB / 0.7178 GB, free: 7.477 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.0009943/0.1319, allocations: 0.8335 MB / 0.7186 GB, free: 6.637 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.1322, allocations: 165.1 kB / 0.7188 GB, free: 6.465 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.1327, allocations: 362.6 kB / 0.7191 GB, free: 6.109 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006583/0.1334, allocations: 442.2 kB / 0.7196 GB, free: 5.676 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.1335, allocations: 64 kB / 0.7196 GB, free: 5.613 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.1338, allocations: 132 kB / 0.7198 GB, free: 5.484 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.134, allocations: 167.3 kB / 0.7199 GB, free: 5.32 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0003808/0.1344, allocations: 354.1 kB / 0.7203 GB, free: 4.973 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.1354, allocations: 0.8484 MB / 0.7211 GB, free: 4.121 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1354, allocations: 0 / 0.7211 GB, free: 4.121 MB / 0.4982 GB Notification: Performance of FrontEnd: time 6.963e-06/0.1354, allocations: 0 / 0.7211 GB, free: 4.121 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.1354, allocations: 11.81 kB / 0.7211 GB, free: 4.109 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003585/0.139, allocations: 1.234 MB / 0.7223 GB, free: 2.824 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1391, allocations: 8.031 kB / 0.7223 GB, free: 2.816 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.1392, allocations: 86.7 kB / 0.7224 GB, free: 2.723 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.1403, allocations: 184.4 kB / 0.7226 GB, free: 2.543 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007811/0.1411, allocations: 0.4933 MB / 0.723 GB, free: 2.008 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.1412, allocations: 66.7 kB / 0.7231 GB, free: 1.938 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.13e-05/0.1413, allocations: 40 kB / 0.7231 GB, free: 1.898 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.1424, allocations: 0.5466 MB / 0.7237 GB, free: 1.332 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.1425, allocations: 0 / 0.7237 GB, free: 1.332 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.1425, allocations: 23.98 kB / 0.7237 GB, free: 1.309 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1425, allocations: 12 kB / 0.7237 GB, free: 1.297 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1437, allocations: 495.7 kB / 0.7242 GB, free: 0.8125 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.1474, allocations: 2.077 MB / 0.7262 GB, free: 14.63 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.1486, allocations: 0.6335 MB / 0.7268 GB, free: 13.94 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006163/0.1493, allocations: 278.9 kB / 0.7271 GB, free: 13.66 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 7.291e-05/0.1494, allocations: 20.34 kB / 0.7271 GB, free: 13.64 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1494, allocations: 43 kB / 0.7272 GB, free: 13.59 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=51): time 2.374e-06/0.1494, allocations: 0 / 0.7272 GB, free: 13.59 MB / 0.5138 GB Notification: Performance of matching and sorting (n=52): time 0.01024/0.1597, allocations: 2.852 MB / 0.7299 GB, free: 10.66 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.1598, allocations: 85.53 kB / 0.73 GB, free: 10.56 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000715/0.1605, allocations: 0.4942 MB / 0.7305 GB, free: 10.05 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.1605, allocations: 33.7 kB / 0.7305 GB, free: 10.02 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.1608, allocations: 292.5 kB / 0.7308 GB, free: 9.723 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.161, allocations: 198.3 kB / 0.731 GB, free: 9.527 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.1612, allocations: 86.25 kB / 0.7311 GB, free: 9.438 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1614, allocations: 374.7 kB / 0.7314 GB, free: 9.062 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005798/0.162, allocations: 233 kB / 0.7317 GB, free: 8.836 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.1626, allocations: 341.1 kB / 0.732 GB, free: 8.465 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.1639, allocations: 0.5973 MB / 0.7326 GB, free: 7.828 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1639, allocations: 0 / 0.7326 GB, free: 7.828 MB / 0.5138 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.008964/0.1729, allocations: 1.745 MB / 0.7343 GB, free: 6.074 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.1729, allocations: 4 kB / 0.7343 GB, free: 6.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.173, allocations: 4 kB / 0.7343 GB, free: 6.066 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008051/0.181, allocations: 1.179 MB / 0.7354 GB, free: 4.883 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.1816, allocations: 99.88 kB / 0.7355 GB, free: 4.785 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/0.195, allocations: 6.248 MB / 0.7416 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/0.1957, allocations: 35.97 kB / 0.7417 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/0.1958, allocations: 28.08 kB / 0.7417 GB, free: 14.2 MB / 0.5294 GB 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.0002843/0.196, allocations: 173.7 kB / 0.7419 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.1962, allocations: 63.56 kB / 0.7419 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004948/0.2011, allocations: 1.323 MB / 0.7432 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.2012, allocations: 7.938 kB / 0.7432 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2012, allocations: 4 kB / 0.7432 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.2012, allocations: 3.984 kB / 0.7432 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006028/0.2072, allocations: 2.122 MB / 0.7453 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.2073, allocations: 4 kB / 0.7453 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/0.2078, allocations: 79.89 kB / 0.7454 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00289/0.2107, allocations: 0.587 MB / 0.746 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/0.2107, allocations: 19.94 kB / 0.746 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008076/0.2188, allocations: 4.735 MB / 0.7506 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.2189, allocations: 4.031 kB / 0.7506 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005743/0.2246, allocations: 1.789 MB / 0.7524 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.2249, allocations: 144.7 kB / 0.7525 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-05/0.225, allocations: 12 kB / 0.7525 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/0.2256, allocations: 31.97 kB / 0.7525 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/0.2258, allocations: 68.28 kB / 0.7526 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.2259, allocations: 19.98 kB / 0.7526 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004637/0.2263, allocations: 354.9 kB / 0.753 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2263, allocations: 0 / 0.753 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007714/0.2271, allocations: 192 kB / 0.7531 GB, free: 2.047 MB / 0.5294 GB 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.00598/0.2331, allocations: 2.346 MB / 0.7554 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002529/0.2357, allocations: 0.9002 MB / 0.7563 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2357, allocations: 0 / 0.7563 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.2373, allocations: 0.6912 MB / 0.757 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006905/0.238, allocations: 57.95 kB / 0.757 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/0.262, allocations: 7.498 MB / 0.7644 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.2627, allocations: 0.8833 MB / 0.7652 GB, free: 5.395 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002776/0.263, allocations: 52.36 kB / 0.7653 GB, free: 5.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003518/0.2633, allocations: 213.6 kB / 0.7655 GB, free: 5.133 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.2633, allocations: 0 / 0.7655 GB, free: 5.133 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05359/0.3169, allocations: 17.92 MB / 0.783 GB, free: 3.453 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/13.99, allocations: 15.5 kB / 0.783 GB, free: 3.441 MB / 0.5607 GB (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 & python3 -m fmpy simulate --output-file OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe 2>&1)